home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / printlen < prev    next >
Text File  |  2001-03-21  |  703b  |  24 lines

  1. Synopsis:
  2.    $printlen(<string>)
  3.  
  4. Technical:
  5.    This function is used to determine the number of printable characters in
  6.    <string>, as it would appear on the screen. Note that ANSI escape sequences
  7.    are counted as printable characters, and should first be removed using the
  8.    stripansicodes(6) function.
  9.  
  10. Practical:
  11.    This function could be used when displaying an arbitrary string from IRC
  12.    which could contain control-characters, such as channel names, topics,
  13.    modes, and /whois info.
  14.  
  15. Returns:
  16.    number of *printable* characters in <string>
  17.  
  18. Examples:
  19.    $strlen(blahC4,2fooBbar)                  returns 10
  20.  
  21. See Also:
  22.    strlen(6); strip(6); stripansicodes(6)
  23.  
  24.